package com.zb.view;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author WEN
 * @Date 2024/1/13 0013
 **/
@Data
@ApiModel("视图商品对象")
@TableName("view_goods")
public class ViewGoods implements Serializable {
    @Serial
    private static final long serialVersionUID = -2649833599395572486L;
    @ApiModelProperty(value = "商品ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "商品类型：1-成品，2-配件")
    private Integer goodsType;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "品牌名称")
    private String brand;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品型号")
    private String model;

    @ApiModelProperty(value = "商品编码")
    private String code;

    @ApiModelProperty(value = "商品货号")
    private String itemNumber;

    @ApiModelProperty(value = "单位ID")
    private Long unitId;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "商品分类ID")
    private Long typeId;

    @ApiModelProperty(value = "商品分类")
    private String type;

    @ApiModelProperty(value = "商品禁用状态：false-启用，true-禁用")
    private Boolean disabled;

    @ApiModelProperty(value = "产品来源：1-售后系统创建，2-excel导入，3-金蝶ERP导入，4-第三方接口创建")
    private Integer source;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "商品规格ID")
    private Long specId;

    @ApiModelProperty(value = "商品规格名称")
    private String specName;

    @ApiModelProperty(value = "商品规格启用状态：false-不启用，true-启用")
    private Boolean enabled;

    @ApiModelProperty(value = "商品规格图片")
    private String image;

    @ApiModelProperty(value = "商品规格价格")
    private BigDecimal price;

    @ApiModelProperty(value = "商品规格质保天数")
    private Integer warrantyDay;

    @ApiModelProperty(value = "商品规格编码")
    private String specCode;

    @ApiModelProperty(value = "商品规格过保价格")
    private BigDecimal overPrice;



}
